package com.example.hotelmanager.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.hotelmanager.entity.BookMsg;
import com.example.hotelmanager.entity.CheckIn;
import com.example.hotelmanager.entity.Cost;
import com.example.hotelmanager.entity.CostType;
import com.example.hotelmanager.mapper.BookMsgMapper;
import com.example.hotelmanager.service.BookMsgService;
import com.example.hotelmanager.service.CostService;
import com.example.hotelmanager.service.CostTypeService;
import com.example.hotelmanager.service.FrontService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author :chenjie
 * @date :Created 2022/11/27 22:47
 */
@Service
public class BookMsgServiceImpl extends ServiceImpl<BookMsgMapper, BookMsg> implements BookMsgService {


    @Override
    public List<BookMsg> getBookMsgByTime(Timestamp fromTime, Timestamp toTime) {
        return this.baseMapper.getBookMsgByTime(fromTime,toTime);
    }

    @Override
    public List<BookMsg> getBookMsgByTime1(Timestamp fromTimeT, Timestamp toTimeT) {
        return this.baseMapper.getBookMsgByTime1(fromTimeT,toTimeT);
    }


}
